package com.zjjk.transfer.source.entity;

import io.geekidea.springbootplus.framework.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户地址
 *
 * @author xuziyang
 * @since 2021-03-26
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("ltech_user_address")
public class SourceUserAddress extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

/**
     * 用户id
     */
    private Integer userId;

/**
     * 科室id
     */
    private String department;

/**
     * 用户性别 1:男  2 :女
     */
    private Integer userSex;

/**
     * 用户名
     */
    private String userName;

/**
     * 用户手机号
     */
    private String userPhone;

/**
     * 用户地址
     */
    private String userAddress;

/**
     * 是否默认
     */
    private Integer isDefault;

/**
     * 创建时间
     */
    private Date createTime;

/**
     * 更新时间
     */
    private Date updateTime;

/**
     * 内容hash值
     */
    private String hashCode;

}
